package com.byd.sealmanage.modal.po;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.Set;

@Data
@Table(name = "sys_user")
public class TbUser {

    @Id
    private String userId;

    private String jobnumber;

    private String username;

    private String division;

    private String factory;

    private String department;

    private String office;

    private String phone;

    private String email;

    private String password;

    private String salt;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private String status;

    private String workPlace;

    //虚拟属性
    private Set<TbRole> roles;
}